package com.hunttown.mes.rpc.api;

import com.hunttown.common.domain.Page;
import com.hunttown.mes.rpc.domain.AnalysisNoticeDTO;
import com.hunttown.mes.rpc.domain.query.AnalysisNoticeDTOQuery;

/**
 * created by wangjunfu on 2018-11-26 15:06:21
 */
public interface AnalysisNoticeRpcService {

    AnalysisNoticeDTO insert(AnalysisNoticeDTO analysisNoticeDTO);

    Boolean updateInfoById(AnalysisNoticeDTO analysisNoticeDTO);

    Boolean updateInfoByQuery(AnalysisNoticeDTOQuery analysisNoticeDTOQuery);

    AnalysisNoticeDTO selectById(Integer id);

    AnalysisNoticeDTO selectObjByQuery(AnalysisNoticeDTOQuery analysisNoticeDTOQuery);

    Page<AnalysisNoticeDTO> getListForPage(AnalysisNoticeDTOQuery analysisNoticeDTOQuery);

    Boolean deleteById(Integer id);
}